package com.zhiyou.app.shop.website.dao;

import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.List;
import java.util.Map;

import com.zhiyou.app.shop.common.util.Page;
import com.zhiyou.app.shop.manager.dao.IBaseDAO;
import com.zhiyou.app.shop.website.dao.pojo.MoneyDeal;

public interface IMoneyDealDao extends IBaseDAO<MoneyDeal, String> {

	BigDecimal findBonusByDay(String userId, String time);
	
	BigDecimal findBonusByRelationId(String userId, String relationId);
	
	List findMoneyDeal(String userAccount, String subjectType, String startDate, String endDate,int start,int pageSize);
	int findMoneyDealCnt(String userAccount, String subjectType, String startDate, String endDate);
	//List<Map<String, Object>> findPrizeList(String userId, String startDate, String endDate,int start,int pageSize);
	
	BigDecimal getStockExchange(String userId);
}





